@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="id" name="id" value="${item.id}" underline="true" disabled="disabled"/>
                    <#input id="createTime" name="创建时间" value="${item.createTime}" underline="true" type="text" clickFun="laydate({istime:true,format:'YYYY-MM-DD hh:mm:ss'})" />
                    <#input id="updateTime" name="修改时间" value="${item.updateTime}" underline="true" type="text" clickFun="laydate({istime:true,format:'YYYY-MM-DD hh:mm:ss'})" />
                    <#text id="content" name="内容" value="${item.content}" underline="true"/>
                    <#input id="waitOnline" name="是否在线等。0：否，1：是" value="${item.waitOnline}" underline="true"/>
                    <#input id="status" name="状态。0：求助中，1：委托中，2：已完成，待买家确认，3：交易完成" value="${item.status}" underline="true"/>
                    <#input id="reward" name="赏金数量。保留小数点后两位" value="${item.reward}" underline="true"/>
                    <#input id="isPaid" name="是否支付，0：否，1：是" value="${item.isPaid}" />
                    <input type="hidden" id="schoolValue" value="${item.schoolId}">
                    <input type="hidden" id="tabValue" value="${item.tabId}">
                    <input type="hidden" id="authorValue" value="${item.authorId}">
                    <input type="hidden" id="solverValue" value="${item.solverId}">
                    <!--<textarea id="content" >${item.content}</textarea>-->
                </div>
                <div class="col-sm-6">
                    <#select id="schoolId" name="学校" underline="true">
                        @for (school in schools) {
                        <option value="${school.id}">${school.name}</option>
                        @}
                    </#select>
                    <#select id="authorId" name="发布人" underline="true">
                        @for (user in users){
                        <option value="${user.id}">${user.name}</option>
                        @}
                    </#select>
                    <#select id="solverId" name="解决人" underline="true">
                        <option value=""></option>
                        @for (user in users){
                        <option value="${user.id}">${user.name}</option>
                        @}
                    </#select>
                    <#input id="powerStatus" name="0：冻结，1：正常" value="${item.powerStatus}" underline="true"/>
                    <#select id="tabId" name="标签" underline="true">
                        @for (tab in tabs) {
                        <option value="${tab.id}">${tab.name}</option>
                        @}
                    </#select>
                    <#input id="paidCode" name="微信支付凭证" value="${item.paidCode}" underline="true"/>
                    <#input id="imgs" name="图片链接。多个链接用英文“，”隔开" value="${item.imgs}" />
                </div>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="IssuesInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="IssuesInfoDlg.close()"/>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/issues/issues_info.js"></script>
<script>
    laydate.render({
        elem: '#createTime'
    });
</script>
<script>
    laydate.render({
        elem: '#updateTime'
    });
</script>
@}
